﻿using System;
using System.Collections.Generic;
using ApplicationGenerator.Lists.Web;

namespace ApplicationGenerator.Lists.BusinessLogic
{
    [Serializable]
    public class ListConfiguration
    {
        private ListConfigurationType _configType;
        private string _name;
        private IConfigDetails _details;
        private IList<ListActionBase> _actions;

        public ListConfigurationType ConfigType
        {
            set { _configType = value; }
            get { return _configType; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public IConfigDetails Details
        {
            get { return _details; }
            set { _details = value; }
        }

        public IList<ListActionBase> Actions
        {
            get { return _actions; }
            set { _actions = value; }
        }
    }
}
